package cn.cubix.flow.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("WF_ROLE_USER")
public class WfRoleUser {
    @TableId("ID")
    private String id;
    @TableField("USER_ID")
    private String userId;
    @TableField("ROLE_ID")
    private String roleId;
    @TableField("PRIORITY")
    private Integer priority;
    @TableField(exist = false)
    private WfRole role;
    @TableField(exist = false)
    private WfUser user;
}
